<template>
  <y-switch active-text="on" inactive-text="off"></y-switch>
  <y-switch active-text="开" inactive-text="关"></y-switch>
  <y-switch active-text="早晨" inactive-text="晚上"></y-switch>
  <y-switch active-text="一日之计在于晨" inactive-text="早睡早起好精神"></y-switch>
</template>

<script>
import { defineComponent } from 'vue';

export default defineComponent({
  name: 'Custom',
});
</script>
